<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var itemId = window.dialogArguments;
var getitemUrl = "/item/get/";
var edititemUrl = "/item/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getitemUrl,
		   data: "itemId=" + itemId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#itemId").html(result.itemId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#desc").html('"'+result.desc+'"');				   $("#categoryId").html(result.categoryId);				   $("#typeId").html(result.typeId);				   $("#attackType").html(result.attackType);				   $("#level").html(result.level);				   $("#qualityId").html(result.qualityId);				   $("#enchantTime").html(result.enchantTime);				   $("#bindType").html(result.bindType);				   $("#props").html(result.props);				   $("#propertySet").html(result.propertySet);				   $("#requiredLevel").html(result.requiredLevel);				   $("#requiredCareerId").html(result.requiredCareerId);				   $("#requiredGenderId").html(result.requiredGenderId);				   $("#unique").html(result.unique);				   $("#maxStack").html(result.maxStack);				   $("#recyclingPrice").html(result.recyclingPrice);				   $("#canSell").html(result.canSell);				   $("#skillId").html(result.skillId);				   $("#itemres").html(result.itemres);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">itemId:</span><span id="itemId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">categoryId:</span><span id="categoryId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">typeId:</span><span id="typeId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">attackType:</span><span id="attackType" class="jsonvalue"></span>,<br/>
<span class="jsonkey">level:</span><span id="level" class="jsonvalue"></span>,<br/>
<span class="jsonkey">qualityId:</span><span id="qualityId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">enchantTime:</span><span id="enchantTime" class="jsonvalue"></span>,<br/>
<span class="jsonkey">bindType:</span><span id="bindType" class="jsonvalue"></span>,<br/>
<span class="jsonkey">props:</span><span id="props" class="jsonvalue"></span>,<br/>
<span class="jsonkey">propertySet:</span><span id="propertySet" class="jsonvalue"></span>,<br/>
<span class="jsonkey">requiredLevel:</span><span id="requiredLevel" class="jsonvalue"></span>,<br/>
<span class="jsonkey">requiredCareerId:</span><span id="requiredCareerId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">requiredGenderId:</span><span id="requiredGenderId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">unique:</span><span id="unique" class="jsonvalue"></span>,<br/>
<span class="jsonkey">maxStack:</span><span id="maxStack" class="jsonvalue"></span>,<br/>
<span class="jsonkey">recyclingPrice:</span><span id="recyclingPrice" class="jsonvalue"></span>,<br/>
<span class="jsonkey">canSell:</span><span id="canSell" class="jsonvalue"></span>,<br/>
<span class="jsonkey">skillId:</span><span id="skillId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">itemres:</span><span id="itemres" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>